Skip to main content

processor

Type

function

Summary

Returns a string describing the system's architecture.

Syntax

the processor
processor()

Description

Use the processor function to determine the system architecture. The system architecture may either be emulated or the architecture of the host CPU. For example, when running the application in an android emulator the processor will return the emulated architecture rather than the architecture of the host CPU.

note

Some operating systems have emulators built in. For example, Windows has WOW64 which allows x86 executables to run under x86_64 versions of Windows.

Examples

the processor
if the processor is "arm" then ...

function: machine, platform

glossary: return

keyword: string

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

web

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?